<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页面测试</title>
</head>
<body>

<script src="./jquery.min.js"></script>
<script>
    $.get("api/test", function(res){
        alert(JSON.stringify(res));
    })
</script>
</body>
</html>